package com.quanyue.music.system.type;

import com.quanyue.music.domain.constant.FMType;
import com.quanyue.music.domain.entity.FmNames;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.time.LocalDateTime;
import java.util.List;

@Table
public class FMPlayDetail {
    @Column(name = "id")
    @ApiModelProperty(name = "FMPlayId")
    private String id;
    @Column(name = "fm_music")
    private String fmMusic;
    @Column(name = "fm_advertise")
    private String fmAdvertise;
    @Column(name = "start_time")
    @ApiModelProperty(name = "开始播放时间")
    private LocalDateTime startTime;
    @Column(name = "music_id")
    @ApiModelProperty(name = "音乐ID")
    private String musicId;
    @Column(name = "type_name")
    @ApiModelProperty(name = "FM类型")
    private FMType typeName;
    @Column(name = "tag_name")
    @ApiModelProperty(name = "音乐标签")
    private String tagName;
    @Column(name = "fm_file")
    @ApiModelProperty(name = "音乐文件")
    private String fmFile;
    @Column(name = "image")
    @ApiModelProperty(name = "紧急文件海报")
    private String image;
    @Column(name = "singer_name")
    @ApiModelProperty(name = "歌手姓名")
    private String singerName;
    @Column(name = "description")
    @ApiModelProperty(name = "简介")
    private String description;
    @Column(name = "like_count")
    @ApiModelProperty(name = "喜欢人数")
    private Integer likeCount;
    @Column(name = "like_id")
    @ApiModelProperty(name = "点赞标识")
    private String likeId;
    @Column(name = "title")
    @ApiModelProperty(name = "标题")
    private String title;
    @ApiModelProperty(name = "音乐名")
    @Transient
    private List <FmNames> names;
    @ApiModelProperty(name = "频道1海报")
    @Transient
    private String channelOneImage;
    @ApiModelProperty(name = "频道2海报")
    @Transient
    private String channelTwoImage;
    @ApiModelProperty(name = "是否已点赞")
    @Transient
    private Boolean isLike;
    @ApiModelProperty(name = "时间差")
    @Transient
    private Long leadTime;
    @ApiModelProperty(name = "是否是会员")
    @Transient
    private Boolean isVip;
    @ApiModelProperty(name = "到期时间")
    @Transient
    private LocalDateTime endTime;
    @ApiModelProperty(name = "当前播放歌曲一共多少秒")
    @Transient
    private Integer totalTime;

    public String getFmMusic() {
        return fmMusic;
    }

    public void setFmMusic(String fmMusic) {
        this.fmMusic = fmMusic;
    }

    public String getFmAdvertise() {
        return fmAdvertise;
    }

    public void setFmAdvertise(String fmAdvertise) {
        this.fmAdvertise = fmAdvertise;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public FMType getTypeName() {
        return typeName;
    }

    public void setTypeName(FMType typeName) {
        this.typeName = typeName;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getFmFile() {
        return fmFile;
    }

    public void setFmFile(String fmFile) {
        this.fmFile = fmFile;
    }

    public List <FmNames> getNames() {
        return names;
    }

    public void setNames(List <FmNames> names) {
        this.names = names;
    }

    public String getSingerName() {
        return singerName;
    }

    public void setSingerName(String singerName) {
        this.singerName = singerName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public String getMusicId() {
        return musicId;
    }

    public void setMusicId(String musicId) {
        this.musicId = musicId;
    }

    public String getLikeId() {
        return likeId;
    }

    public void setLikeId(String likeId) {
        this.likeId = likeId;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }

    public Long getLeadTime() {
        return leadTime;
    }

    public void setLeadTime(Long leadTime) {
        this.leadTime = leadTime;
    }

    public Boolean getVip() {
        return isVip;
    }

    public void setVip(Boolean vip) {
        isVip = vip;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getChannelOneImage() {
        return channelOneImage;
    }

    public void setChannelOneImage(String channelOneImage) {
        this.channelOneImage = channelOneImage;
    }

    public String getChannelTwoImage() {
        return channelTwoImage;
    }

    public void setChannelTwoImage(String channelTwoImage) {
        this.channelTwoImage = channelTwoImage;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(Integer totalTime) {
        this.totalTime = totalTime;
    }
}
